package com.czk.model.proxy.staticproxy.prcactice;

/**
 * @Author:ChenZhangKun
 * @Date: 2021/10/2 17:15
 */
public class ProxyKongFu implements Movie {
    private Movie movie;

    public ProxyKongFu(Movie movie) {
        this.movie = movie;
    }

    @Override
    public void play() {
        System.out.println("周星驰主演");
        this.movie.play();
        System.out.println("黄圣依很美");
    }
}
